package com.ruoyi.community.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;


/**
 * 楼栋管理对象 nucleic_buildings
 * 
 * @author ruoyi
 * @date 2023-04-08
 */
public class Buildings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小区的id */
    @Excel(name = "小区的id")
    private Long communityId;

    /** 楼栋的名字 */
    @Excel(name = "楼栋的名字")
    private String name;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 负责人 */
    @Excel(name = "负责人")
    private String admin;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 小区 */
    private Community communitys;

    public Community getCommunity() {
        return communitys;
    }

    public void setCommunity(Community community) {
        this.communitys = community;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }


    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return "Buildings{" +
                "id=" + id +
                ", communityId=" + communityId +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", admin=" + admin +
                ", address='" + address + '\'' +
                ", community=" + communitys +
                '}';
    }
}
